package dao;

import model.User;
import model.Role;
import exception.DAOException;
import exception.DAOUpdateException;

public interface UserDAO {

    public void insertUser (User user) throws DAOException;
    public void updateUser (User user) throws DAOUpdateException;
    public void deleteUser (User user) throws DAOException;
	public User findUser(String userID) throws DAOException;
	public User[] findAllUsers () throws DAOException;
	public Role findRole (String roleID) throws DAOException;
	public Role[] findAllRoles () throws DAOException;     
    public User[] findAllManagers () throws DAOException;

}